﻿model BYSJ.Web.Models.FileDown
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/base.cshtml";
}
@section TitleSection{
    教学资源
}
@section  JsSection{
<script src="~/Scripts/File.js"></script>
<link href="~/Content/File.css" rel="stylesheet" />
}
@section filedown{
   <div class="manin">
       <!--教学通知 begin-->
       <div class="main-list main-notice">
           <div class="list-title">
               <i class="i-title"></i><span>教学通知</span>
               @if(Model.tongzhi.Count>0)
               { 
               <a href="/Files/@Model.tongzhi[0].Fileleibie"><i class="i-more"></i></a>
               }
               else
               {
                <a href=""><i class="i-more"></i></a>
               }
           </div>
           <div class="line01"></div>
           <div class="list-content">
               <div class="list-tabs" style="height:219px;">
                   <ul>
                       @if(Model.tongzhi.Count>0)
                       {
                       foreach (var item in Model.tongzhi)
                       {
                       <li><i class="i-list"></i><a href="@item.FileUrl">@item.FileName</a><span style="color:#999;">- @item.username</span><span class="time">[@item.FilecreatTime]</span></li>
                       }}
                      </ul>

               </div>
           </div>
       </div>
       <!--教学通知 end-->
       <!--课件 end-->
       <div class="main-ppt">
           <div class="list-title">
               <i class="i-title"></i><span>课件</span>
               @if(Model.kejian.Count>0)
               {
               <a href="/Files/@Model.kejian[0].Fileleibie"><i class="i-more"></i></a>
               }
               else
               {
                <a href=""><i class="i-more"></i></a>
               }
           </div>
           <div class="line02"></div>
           <div class="list-content">
               <div class="list-tabs" style="height:219px;">
                   <ul>
                       @if(Model.kejian.Count>0)
                       {
                       foreach (var item in Model.kejian)
                       {
                        <li><i class="i-list"></i><a href="@item.FileUrl">@item.FileName</a>
                            <span class="time">-[@item.FilecreatTime]</span>
                           <span style="color:#999;float:right;"> @item.username</span>
                       </li>
                       }
                       }
                       </ul>
               </div>
           </div>
       </div>
       <!--课件 end-->
       <hr class="hr-line" />
       <!--实验指导-->
       <div class="main02 center">
           <div class="list-title">
               <i class="i-title"></i><span>实验指导</span>
               @if(Model.zhidao.Count>0)
               { 
               <a href="/Files/@Model.zhidao[0].Fileleibie"><i class="linue-more"></i></a>
               }
               else
               {
                <a href=""><i class="linue-more"></i></a>
               }
                   </div>
           <div class="line03"></div>
           <div class="test-content-line">
               <div class="list-tabs-line" style="height:99px;">
                   <ul>
                      @if(Model.zhidao.Count>0)
                       {
                       foreach (var item in Model.zhidao)
                       {
                        <li><i class="i-list-line"></i><a href="@item.FileUrl">@item.FileName</a><span style="color:#999;">- @item.username</span><span class="time">[@item.FilecreatTime]</span></li>
                       }
                       }
                         </ul>
               </div>
           </div>
       </div>
       <!--实验指导-->
       <!--其他-->
       <div class="main02 center">
           <div class="list-title">
               <i class="i-title"></i><span>其他</span>
               @if(Model.other.Count>0)
               { 
               <a href="/Files/@Model.other[0].Fileleibie"><i class="linue-more"></i></a>
               }
               else
               {
                <a href=""><i class="linue-more"></i></a>
               }
                   </div>
           <div class="line03"></div>
           <div class="test-content-line">
               <div class="list-tabs-line" style="height:99px;">
                   <ul>
                       @if(Model.other.Count>0)
                       {
                       foreach (var item in Model.other)
                       {
                        <li><i class="i-list-line"></i><a href="@item.FileUrl">@item.FileName</a><span style="color:#999;">- @item.username</span><span class="times">[@item.FilecreatTime]</span></li>

                       }
                     }
                   </ul>
               </div>
           </div>
       </div>
       <!--其他-->
    </div>
    }


